package com.powernode.common;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 内容:
 * 作者: cy
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Result {
   private Integer code;
   private String msg;
   private Long count;
   private Object data;

   public Result(Integer code, String msg) {
      this.code = code;
      this.msg = msg;
   }

   public Result(Integer code, String msg, Object data) {
      this.code = code;
      this.msg = msg;
      this.data = data;
   }
}
